Gift card payments
Use this test case data to test the gift card payment flow.
Use this test case data to test gift card payments.
API method | Scenario | Error type | Amount | Gift card number |
---|---|---|---|---|
createPaymentRequest | The gift card payment fails because it was declined by the provider. | Failed | 5.66 |
|
createPaymentRequest | The gift card payment fails because of a technical error. | Error | 5.67 |
|
To test partial payments, you need a gift card, with only a specific amount available on the account. You can simulate this by using our test account balance cards. To make it easier to test with, the account balance cards have 6 sub accounts, in the following currencies: EUR, DKK, GBP, SEK, NOK, USD.
Here are some examples:
Balance on card | Gift card number |
---|---|
100000 EUR | 8887778800002545 |
100000 EUR | 777770000000000 |
Example Account Token
Balance on card | Token |
---|---|
100000 EUR | 8c919c22245f67240ba6008fa03703a52073eb98 |
Use this test case data to test querying gift cards.
API method | Scenario | Error type | Gift card number |
---|---|---|---|
queryGiftCard | The gift card query fails because the gift card number doesn't exist. | Failed |
|
queryGiftCard | The gift card query fails because of a technical error. | Error |
|
Use this test case data to test the back-office methods. For more information, see API methods for Merchant and Processor APIs.
Scenario | Error type | Amount | Card Number |
---|---|---|---|
Fails at captureReservation | Failed | 7.66 |
|
Fails at captureReservation | Error | 7.67 |
|
Triggered at captureReservation | 20 second delay | 19.66 |
|
Triggered at captureReservation ( To create the chargeback object, capture the reservation, then go to the Merchant Information Interface, and under Home > Terminal Settings, click on Create test reconciliation data) |
Chargeback | 19.67 |
|
Scenario | Error type | Amount | Card Number |
---|---|---|---|
Fails at releaseReservation. | Failed | 8.66 |
|
Fails at releaseReservation. | Error | 8.67 |
|
Scenario | Error type | Amount | Card Number |
---|---|---|---|
Fails at refundCapturedReservation | Failed | 9.66 |
|
Fails at refundCapturedReservation | Error | 9.67 |
|
Scenario | Error type | Amount | Card Number |
---|---|---|---|
Fails at credit or createPaymentRequest with the appropriate type set. | Failed | 9.66 |
|
Fails at credit or createPaymentRequest with the appropriate type set. | Error | 9.67 |
|
Use this test case data to test the back-office methods for subscriptions. For more information, see API methods for Merchant and Processor APIs.
Scenario | Error type | Amount | Card Number |
---|---|---|---|
Fails at chargeSubscription | Failed | 13.66 |
|
Fails at chargeSubscription | Error | 13.67 |
|
Fails at reserveSubscriptionCharge | Failed | 13.66 |
|
Fails at reserveSubscriptionCharge | Error | 13.67 |
|